package com.heima.wemedia.mapper;

import com.heima.model.admin.dtos.ChannelDto;
import com.heima.model.media.dtos.WmNewsResultDTO;
import com.heima.wemedia.entity.WmNews;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 * 自媒体图文内容信息表 Mapper 接口
 * </p>
 *
 * @author HM
 * @since 2022-04-27
 */
public interface WmNewsMapper extends BaseMapper<WmNews> {

    List<WmNewsResultDTO> findByPageWmNewResult(@Param("id") Integer id);
}
